package com.weijian.utils;

import org.springframework.ai.tool.annotation.Tool;
import org.springframework.ai.tool.annotation.ToolParam;

public class AiTools {

    @Tool(description = "获取天气")
    public String weatherTools(@ToolParam(description = "城市名称") String city) {
        return "今天" + city + "的天气是晴天";
    }
}
